<template>
  <div><span>B组件:</span><input type="text" v-model="title" @input="send()" /></div>
</template>

<script>

export default {
  name: "stof",
  components: {
  },
  data() {
    return {
      title:"TestB"
    };
  },
  methods: {
    send() {
      this.$emit("e-child",this.title)
    }
  }

};
</script>
